package com.entrogy.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;


/**
 * @ClassName CourseSystemParentCourseEntity
 * @Description 家长看到的选课列表
 * @Author luoxingjiang
 * @Date 2019-11-27 下午 5:58
 * @Version 1.0
 **/
@SuppressWarnings("serial")
@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
public class CourseSystemParentCourseEntity {


    private Integer id;

    private Integer studentId;

    private String studentName;

    private String courseName;

    private String courseImage;

    private String courseDesc;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date deadline;

    private Integer courseLimitCount;

    private Integer classLimitCount;

    private Integer weekNumber;

    private Integer courseCount;

    private List<CourseSystemCourseArrangeEntity> courseArrangeList;

    private List<CourseSystemCourseTimeEntity> courseTimeList;

    private List<CourseSystemCourseLimitEntity> courseLimitList;

    private Boolean isFinish;

    private Integer courseChooseId;
}
